import request from '@/utils/request'

// 分页查询报告回收列表
export function findReportRecover(params) {
  return request({
    url: `/reportRecover/findReportRecover`,
    method: 'get',
    params
  })
}

// 报告回收
export function reportRecoup(data) {
  return request({
    url: `/reportRecover/reportRecoup`,
    method: 'post',
    data
  })
}

// 查询报告编制员、报告审核员、授权签字人
export function findReportRecoverUser(personnelType) {
  return request({
    url: `/reportRecover/findReportRecoverUser?personnelType=${personnelType}`,
    method: 'get'
  })
}

// 修订报告
export function reportAmend(data) {
  return request({
    url: `/reportRecover/reportAmend`,
    method: 'post',
    data
  })
}

